package commons.entity;

import chrome.entity.Chrome;
import com.alibaba.fastjson.JSONObject;
import commons.util.GameUtil;

public class TrainResults {
    private boolean toptoon01Finish;
    private boolean toptoon02Finish;
    private boolean toptoon03Finish;
    private boolean toptoon04Finish;
    private boolean fgoTrainFinish;

    private boolean GofgoTrainReport;
    private boolean GoToptoonReport;
    private String toptoonSignDate;
    private String fgoTrainDate;
    public static TrainResults getInstance(){
            String filepath = NativeCp.getUserDir() + "/config/"+Constant.FGO+"/TrainResults.json";
            TrainResults trainResults = JSONObject.parseObject(GameUtil.getJsonString(filepath), TrainResults.class);
        return trainResults;
    }

    public boolean isToptoon01Finish() {
        return toptoon01Finish;
    }

    public void setToptoon01Finish(boolean toptoon01Finish) {
        this.toptoon01Finish = toptoon01Finish;
    }

    public boolean isToptoon02Finish() {
        return toptoon02Finish;
    }

    public void setToptoon02Finish(boolean toptoon02Finish) {
        this.toptoon02Finish = toptoon02Finish;
    }

    public boolean isToptoon03Finish() {
        return toptoon03Finish;
    }

    public void setToptoon03Finish(boolean toptoon03Finish) {
        this.toptoon03Finish = toptoon03Finish;
    }

    public boolean isToptoon04Finish() {
        return toptoon04Finish;
    }

    public void setToptoon04Finish(boolean toptoon04Finish) {
        this.toptoon04Finish = toptoon04Finish;
    }

    public boolean isFgoTrainFinish() {
        return fgoTrainFinish;
    }

    public void setFgoTrainFinish(boolean fgoTrainFinish) {
        this.fgoTrainFinish = fgoTrainFinish;
    }

    public boolean isGofgoTrainReport() {
        return GofgoTrainReport;
    }

    public void setGofgoTrainReport(boolean gofgoTrainReport) {
        GofgoTrainReport = gofgoTrainReport;
    }

    public boolean isGoToptoonReport() {
        return GoToptoonReport;
    }

    public void setGoToptoonReport(boolean goToptoonReport) {
        GoToptoonReport = goToptoonReport;
    }

    public String getToptoonSignDate() {
        return toptoonSignDate;
    }

    public void setToptoonSignDate(String toptoonSignDate) {
        this.toptoonSignDate = toptoonSignDate;
    }

    public String getFgoTrainDate() {
        return fgoTrainDate;
    }

    public void setFgoTrainDate(String fgoTrainDate) {
        this.fgoTrainDate = fgoTrainDate;
    }
}
